package com.adtech.adms.system.pojo;

import java.sql.Timestamp;

/**
 * SysAdminLog entity. @author MyEclipse Persistence Tools
 */

public class SysAdminLog implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Timestamp actionTime;
	private Integer contentTypeId;
	private String objectId;
	private String objectRepr;
	private Short actionFlag;
	private String changeMessage;

	// Constructors

	/** default constructor */
	public SysAdminLog() {
	}

	/** minimal constructor */
	public SysAdminLog(Timestamp actionTime, String objectRepr,
			Short actionFlag, String changeMessage) {
		this.actionTime = actionTime;
		this.objectRepr = objectRepr;
		this.actionFlag = actionFlag;
		this.changeMessage = changeMessage;
	}

	/** full constructor */
	public SysAdminLog(User user, Timestamp actionTime,
			Integer contentTypeId, String objectId, String objectRepr,
			Short actionFlag, String changeMessage) {
		this.user = user;
		this.actionTime = actionTime;
		this.contentTypeId = contentTypeId;
		this.objectId = objectId;
		this.objectRepr = objectRepr;
		this.actionFlag = actionFlag;
		this.changeMessage = changeMessage;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Timestamp getActionTime() {
		return this.actionTime;
	}

	public void setActionTime(Timestamp actionTime) {
		this.actionTime = actionTime;
	}

	public Integer getContentTypeId() {
		return this.contentTypeId;
	}

	public void setContentTypeId(Integer contentTypeId) {
		this.contentTypeId = contentTypeId;
	}

	public String getObjectId() {
		return this.objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getObjectRepr() {
		return this.objectRepr;
	}

	public void setObjectRepr(String objectRepr) {
		this.objectRepr = objectRepr;
	}

	public Short getActionFlag() {
		return this.actionFlag;
	}

	public void setActionFlag(Short actionFlag) {
		this.actionFlag = actionFlag;
	}

	public String getChangeMessage() {
		return this.changeMessage;
	}

	public void setChangeMessage(String changeMessage) {
		this.changeMessage = changeMessage;
	}

}